 
 


/* Animation classes */
.fade-in {
    opacity: 0;
    animation: fadeIn ease 1s forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp ease 1s forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft ease 1s forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight ease 1s forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Animation keyframes */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(50px); }
    100% { opacity: 1; transform: translateX(0); }
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 2px;
}

/* Main Color Theme */
:root {
    --primary-color: rgb(171, 148, 125);
    --primary-light: rgba(171, 148, 125, 0.1);
    --primary-dark: rgba(140, 120, 100, 1);
    --text-color: #333;
    --secondary-text: #666;
    --light-gray: #f5f5f5;
    --dark-gray: #444;
    --white: #fff;
    --black: #000;
    --footer-bg: #333;
}

/* Header styles */
 

 

.sub-nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 5;
}
 
.utility-nav {
    display: flex;
    align-items: center;
}

.language-dropdown, .office-dropdown {
    position: relative;
    margin-left: 20px;
}

.dropdown-toggle {
    padding: 28px 15px;
    display: block;
    cursor: pointer;
    color: var(--text-color);
}

.dropdown-toggle:hover {
    color: var(--primary-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    display: none;
    z-index: 5;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
}

.dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    margin-left: 20px;
}

.mobile-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Banner slider */
.banner-slider {
    position: relative;
    height: 95vh;
    overflow: hidden;
}

.banner-container {
    height: 100%;
}

.banner-slide {
    height: 95vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.banner-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

 
.banner-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 3;
}

.prev-slide, .next-slide {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 15px;
}

.banner-dots {
    display: flex;
    margin: 0 10px;
}

.banner-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
}

.banner-dots .dot.active {
    background-color: var(--white);
}

/* Info Section */
.info-section {
    padding: 5px 0;
    background-color: var(--white);
}

.info-section .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
}

.stock-info {
    padding: 20px;
    background-color: var(--light-gray);
}

.stock-info h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.stock-info p {
    color: var(--secondary-text);
    margin-bottom: 10px;
}

.stock-price {
    font-size: 1.8rem;
    color: var(--primary-color) !important;
    font-weight: bold;
}

.stock-price span {
    font-size: 1rem;
    color: var(--secondary-text);
    margin-left: 5px;
}

.news-highlight {
    padding: 20px;
    border: 1px solid #eee;
}

.news-highlight h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.news-highlight .date {
    color: var(--secondary-text);
    margin-bottom: 10px;
}

.news-highlight .summary {
    color: var(--secondary-text);
    line-height: 1.6;
}

.news-tabs {
    padding: 20px;
    border: 1px solid #eee;
}

.tab-headers {
    display: flex;
    border-bottom: 2px solid var(--light-gray);
    margin-bottom: 15px;
}

.tab-title {
    padding: 0 10px 10px;
    cursor: pointer;
    margin-right: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-text);
    position: relative;
}

.tab-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.tab-title.active {
    color: var(--primary-color);
}

.tab-title.active:after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.news-list li {
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-date {
    color: var(--secondary-text);
    margin-right: 10px;
    font-size: 0.9rem;
}

.news-list a {
    color: var(--text-color);
}

.news-list a:hover {
    color: var(--primary-color);
}

/* Business Areas */
.business-areas {
    padding: 5px 0; 
    background-color: var(--light-gray);
}

.business-areas .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 5px;
}

.business-card {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.business-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

.business-card:hover:before {
    background: rgba(171, 148, 125, 0.7);
}

.community-card {
    background-image: url('../images/community.jpg');
}

.services-card {
    background-image: url('../images/services.jpg');
}

.culture-card {
    background-image: url('../images/culture.jpg');
}

.card-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.card-title-cn {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.card-title-en {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.card-description {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.business-card:hover .card-description {
    opacity: 1;
    transform: translateY(0);
}

/* About page specific styles */
.about-banner {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.about-banner .container {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
}

.banner-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.banner-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-path {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.nav-path .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb {
    color: var(--secondary-text);
}

.breadcrumb a {
    color: var(--secondary-text);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.separator {
    margin: 0 10px;
}

.section-nav {
    display: flex;
}

.section-link {
    margin-left: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 5px;
}

.section-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.section-link:hover:after,
.section-link.active:after {
    width: 100%;
}

.section-link.active {
    color: var(--primary-color);
}

.about-content {
    padding: 50px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 50px;
}

.passion-block {
    padding: 30px 0;
}

.en-title {
    font-size: 1.5rem;
    color: var(--secondary-text);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cn-title {
    font-size: 2rem;
    color: var(--primary-color);
}

.company-intro {
    padding: 30px;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.title-cn {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.title-en {
    font-size: 1.2rem;
    color: var(--secondary-text);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.intro-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.stock-block {
    padding: 50px 0;
    background-color: var(--light-gray);
}

.stock-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 50px;
}

.stock-left {
    padding: 30px;
    background-color: var(--white);
    text-align: center;
}

.stock-code {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stock-value {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.stock-desc {
    color: var(--secondary-text);
}

.brand-philosophy {
    padding: 30px;
    background-color: var(--white);
}

.philosophy-cn {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.philosophy-en {
    font-size: 1.2rem;
    color: var(--secondary-text);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.philosophy-desc {
    line-height: 1.8;
    color: var(--text-color);
}
 
 
 
/* Responsive styles */
@media (max-width: 1200px) {
    .container {
        max-width: 992px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 768px;
    }

    .info-section .container {
       grid-template-columns: repeat(2, 1fr);
    }

    .news-tabs {
        grid-column: span 2;
    }

 

    .culture-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
   
     

   
    .utility-nav {
        margin-right: 10px;
    }

    .mobile-toggle {
        display: flex;
    }

  
    .stock-info, .news-highlight, .news-tabs {
        grid-column: span 1;
    }

    
    .community-card, .services-card, .culture-card {
        grid-column: span 1;
    }

    .about-grid, .stock-grid {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }

     

    .section-nav {
        margin-top: 10px;
        flex-wrap: wrap;
    }

    .section-link {
        margin: 5px 10px 5px 0;
    }

     
 
}

@media (max-width: 480px) {
    .banner-slider {
        height: 350px;
    }

    .banner-slide {
        height: 350px;
    }

     

    .about-banner {
        height: 300px;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }
}
